package strategy.improve;


/**
 * 玩具鸭
 */
public class ToyDuck extends Duck {
    public ToyDuck() {
        super("玩具鸭");
        flyBehavior = new NoFlyBehavior();
        quackBehavior = new NoQuack();
    }

    @Override
    public void quack() {
        super.quack();
    }

    @Override
    public void swim() {
        super.swim();
    }
}
